<?php
$con = mysql_connect('localhost','root','');
$db = mysql_select_db('paradigmShift_DEV');
if(isset($_GET['id']))
{
    $sql = "delete from roledate where id = ".$_GET['id'];
    if (!mysql_query($sql))
    {
        $result = array('result'=>'error');
    }
    else
    {
        $result = array('result'=>'success');
    }
    echo(json_encode($result));
}
?>
